﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace seiacpscs.sortalgorithms
{
    public abstract  class SortAlgorithm
    {
        protected long numberOfInnerLoops;
        protected long numberOfOuterLoops;
        protected long memoryConsumption;
        protected long executionTime;
        protected long numberOfSwaps;
        protected String algorithmName;

        abstract public void Sort(int[] items);


       
        public long NumberOfInnerLoops
        {
            get { return numberOfInnerLoops; }
            set { numberOfInnerLoops = value; }
        }


        public long NumberOfOuterLoops
        {
            get { return numberOfOuterLoops; }
            set { numberOfOuterLoops = value; }
        }


        public long ExecutionTime
        {
            get { return executionTime; }
            set { executionTime = value; }
        }

        public long NumberOfSwaps
        {
            get { return numberOfSwaps; }
            set { numberOfSwaps = value; }
        }

        public String AlorithmName
        {
            get { return algorithmName; }
            set { algorithmName = value; }
        }
        

    }
}
